<?php

namespace pmvc\view;

use pmvc\ViewHandler;

class JSONViewHandler 
    implements ViewHandler {
    	
    function renderView($mav) {
    	header("Content-Type: application/json");
    	print json_encode($mav->getModel());
    }
    
    public function configure($conf) {
    	
    }
    
}

?>